package com.lottery.material.service.portal.promotion;

import com.lottery.material.pojo.promotion.PromotionRuleConfig;
import com.lottery.material.vo.portal.article.ArticlePromotionRuleVo;

/**
 * Description:    推广规则配置服务接口
 * Author:         sunny
 * CreateDate:     2019-04-26 15:05
 */
public interface PromotionRuleConfigService {

    /**
     * description: 根据推广类型查询
     * author sunny
     * createDate 2019-04-26 下午 3:07
     * @param promotionType
     * @return
     */
    PromotionRuleConfig findByPromotionType(Integer promotionType);

    /**
     * description: 根据推广类型查询Vo
     * author sunny
     * createDate 2019-04-29 上午 11:14
     * @param promotionType
     * @return
     */
    ArticlePromotionRuleVo findVoByPromotionType(Integer promotionType);

}
